home *** CD-ROM | disk | FTP | other *** search
- rem $linesize:132
- rem $title:'Application Engineer Statndard Routines'
- rem $subtitle:'Close an index'
- ' Include the COMMON values
- rem $include:'AESHARED.BAS'
-
- sub bit.close(fl%) static
-
- ' close index file, open the header, read info
- ' update data, write info and close the header
-
- close #fl%
- open "r",fl%,idx.nam$(fl%)+".hdr",512
- field #fl%,32 as desc$,32 as xmast$,2 as klen$,2 as nok$,2 as nexav$
- field #fl%,70 as twit$,2 as kdel$,440 as spare$
- get #fl%,1
- lset nok$=mki$(xh%(fl%,2))
- lset nexav$=mki$(xh%(fl%,3))
- lset kdel$=mki$(xh%(fl%,4))
- put #fl%,1
- close #fl%
-
- end sub
-